package com.yss.feign.sentinel;

import com.yss.domain.Prod;
import com.yss.feign.StoreProdFeign;
import com.yss.module.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description:门店业务模块调用商品业务模块feign接口的熔断处理
 * @Author:yss
 * @Date:2024/8/7 21:59
 */

@Component
@Slf4j
public class StoreProdFeignSentinel implements StoreProdFeign {
    @Override
    public Result<List<Prod>> getProdListByIds(List<Long> prodIdList) {
        log.error("根据商品id集合查询商品对象集合，接口调用失败");
        return null;
    }
}
